package com.tuanzi.loan.business.repository.galaxycard;

import com.tuanzi.loan.vo.request.galaxycard.GalaxyCardPrivilegeStatusSearchRequest;
import com.tuanzi.loan.vo.response.galaxycard.GalaxyCardPrivilegeStatusSearchResponse;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.Map;

/**
 * 权益状态管理 JOOQRepositoryInterface
 * @author JinRuiyang 2018/2/9 17:24:31
 */
public interface GalaxyCardPrivilegeStatusRepository {

    /**
     * GalaxyCardPrivilegeStatus查询
     * @param searchRequest 请求信息
     * @param pageable 分页信息
     * @return 响应列表
     */
    Page<GalaxyCardPrivilegeStatusSearchResponse> list(GalaxyCardPrivilegeStatusSearchRequest searchRequest, Pageable pageable);

    Map<String, Long> getPrivilegeList();
}